<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/qwwq/css/layui.css">

</head>
<body>
<!--    功能区域-->
<div class="layui-inline">
    <!--                    不要使用button按钮-->
    <a class="layui-btn layui-btn-normal" id="chaxun">查询</a>
    <a class="layui-btn layui-btn-normal" id="saveBtn">保存</a>
</div>
<table id="userList" lay-filter="tableTools" style="margin: 0 auto"></table>




<form class="layui-form" action=""
      style="display: none" id="updateForm" lay-filter="filterColumn">
    <!--隐藏id-->
    <input type="hidden" name="id"/>
    <h2>新增电子图书</h2>

    <div class="layui-form-item">
        <label class="layui-form-label">图书名称</label>
        <div class="layui-inline">
            <input type="text" name="title" required
                   lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">图书摘要</label>
        <div class="layui-inline">
            <input type="text" name="summary" required
                   lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">上传人</label>
        <div class="layui-inline">
            <input type="text" name="uploaduser" required
                   lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">上传时间</label>
        <div class="layui-inline">
            <input type="text" name="createdate" required
                   lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--保存按钮-->
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="xg">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
<script src="/qwwq/js/jquery.min.js"></script>
<script src="/qwwq/layui.js"></script>
<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script src="/qwwq/js/myjs/public_main.js"></script>
<script src="/qwwq/js/myjs/formateChange.js"></script>
</html>